package cc.monggo.third;

import java.util.HashMap;

import cc.monggo.third.model.QQAccessToken;
import cc.monggo.third.model.QQUser;

public interface QQService {
	/**
	 * 返回QQ的access_token
	 * @param params
	 */
	public QQAccessToken getAccessToken(HashMap<String,String> params);
	
	/**
	 * 获取openID,与qq号对应
	 * @param params
	 * @return
	 */
	public String getOpenId(HashMap<String,String> params);
	
	/**
	 * 用户信息
	 * @param params
	 * @return
	 */
	public QQUser getUser(HashMap<String,String> params);
	
}
